<!--<?php
print <<<EOT
-->
<div class="store-panel">
	<div class="hd">
		<h3>二手房源</h3>
	</div>
<!--
EOT;
if (!empty($_viewer->result)) {
print <<<EOT
-->	
	<div class="bd">
		<ul class="store-house-list2 pic-list-SH cc">
<!--
EOT;
foreach($_viewer->result as $value){
$url = PW_HouseUrl::saleInfo($value['houseid']);
$value[preprice] = ceil($value[price]*10000/$value[acreage]);
$value[updatetime] = get_date($value[modifytime]);
print <<<EOT
-->
			<li class="item">
				<div class="summary">
					<h3><a href="{$url}" target="_blank">{$value[subject]}</a></h3>
					<ul class="attr">
						<li>{$value[village]}  {$value[address]}</li>
						<li>户型:{$value[room]}  楼层:{$value[currentfloor]}/{$value[totalfloor]}层  单价:{$value[preprice]}元/平方</li>
						<li>更新时间：$value[updatetime]</li>
					</ul>
				</div>
				<span class="pho">
					<a href="{$url}" target="_blank"><img width="105" height="80" src="$value[thumb]" /></a>
				</span>
				<span class="data">{$value[acreage]}平米</span>
				<span class="price">{$value[price]}万元</span>
			</li>
<!--
EOT;
}
print <<<EOT
-->
		</ul>
		<div class="pages-wrap">
			{$_viewer->pages}
		</div>
	</div>
<!--
EOT;
} else {
print <<<EOT
-->
	<div class="bd">
		暂无此类房源
	</div>
<!--
EOT;
}
print <<<EOT
-->
	
</div>
</div>
<!--
EOT;
?>-->